<template>
  <div>
    <h1>{{msg}}</h1>
    <button @click="change">变</button>
    <my-menu></my-menu>
  </div>
</template>
<script>
 import Menu from './component/Menu.vue'
  export default {
      data() {
          return {
              msg: "vue-loader使用实例"
          }
      },
      methods:{
			change(){
				this.msg='wahaha'
			}
		},
     components: {
        'my-menu': Menu
     }
  }
</script>